↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
LOG2_IN_AG(X, Y) → U1_AG(X, Y, log2_in_agg(X, 0, Y))
LOG2_IN_AG(X, Y) → LOG2_IN_AGG(X, 0, Y)
LOG2_IN_AGG(s(s(X)), I, Y) → U2_AGG(X, I, Y, half_in_aa(s(s(X)), X1))
LOG2_IN_AGG(s(s(X)), I, Y) → HALF_IN_AA(s(s(X)), X1)
HALF_IN_AA(s(s(X)), s(Y)) → U4_AA(X, Y, half_in_aa(X, Y))
HALF_IN_AA(s(s(X)), s(Y)) → HALF_IN_AA(X, Y)
U2_AGG(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_AGG(X, I, Y, log2_in_ggg(X1, s(I), Y))
U2_AGG(X, I, Y, half_out_aa(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, half_in_ga(s(s(X)), X1))
LOG2_IN_GGG(s(s(X)), I, Y) → HALF_IN_GA(s(s(X)), X1)
HALF_IN_GA(s(s(X)), s(Y)) → U4_GA(X, Y, half_in_ga(X, Y))
HALF_IN_GA(s(s(X)), s(Y)) → HALF_IN_GA(X, Y)
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_GGG(X, I, Y, log2_in_ggg(X1, s(I), Y))
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
LOG2_IN_AG(X, Y) → U1_AG(X, Y, log2_in_agg(X, 0, Y))
LOG2_IN_AG(X, Y) → LOG2_IN_AGG(X, 0, Y)
LOG2_IN_AGG(s(s(X)), I, Y) → U2_AGG(X, I, Y, half_in_aa(s(s(X)), X1))
LOG2_IN_AGG(s(s(X)), I, Y) → HALF_IN_AA(s(s(X)), X1)
HALF_IN_AA(s(s(X)), s(Y)) → U4_AA(X, Y, half_in_aa(X, Y))
HALF_IN_AA(s(s(X)), s(Y)) → HALF_IN_AA(X, Y)
U2_AGG(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_AGG(X, I, Y, log2_in_ggg(X1, s(I), Y))
U2_AGG(X, I, Y, half_out_aa(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, half_in_ga(s(s(X)), X1))
LOG2_IN_GGG(s(s(X)), I, Y) → HALF_IN_GA(s(s(X)), X1)
HALF_IN_GA(s(s(X)), s(Y)) → U4_GA(X, Y, half_in_ga(X, Y))
HALF_IN_GA(s(s(X)), s(Y)) → HALF_IN_GA(X, Y)
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_GGG(X, I, Y, log2_in_ggg(X1, s(I), Y))
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
HALF_IN_GA(s(s(X)), s(Y)) → HALF_IN_GA(X, Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
HALF_IN_GA(s(s(X)), s(Y)) → HALF_IN_GA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PrologToPiTRSProof
HALF_IN_GA(s(s(X))) → HALF_IN_GA(X)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, half_in_ga(s(s(X)), X1))
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, half_in_ga(s(s(X)), X1))
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ PiDP
↳ PrologToPiTRSProof
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(I, Y, half_in_ga(s(s(X))))
U2_GGG(I, Y, half_out_ga(X1)) → LOG2_IN_GGG(X1, s(I), Y)
half_in_ga(s(s(X))) → U4_ga(half_in_ga(X))
U4_ga(half_out_ga(Y)) → half_out_ga(s(Y))
half_in_ga(0) → half_out_ga(0)
half_in_ga(s(0)) → half_out_ga(0)
half_in_ga(x0)
U4_ga(x0)
U2_GGG(I, Y, half_out_ga(X1)) → LOG2_IN_GGG(X1, s(I), Y)
half_in_ga(s(0)) → half_out_ga(0)
POL(0) = 0
POL(LOG2_IN_GGG(x1, x2, x3)) = 2·x1 + x2 + x3
POL(U2_GGG(x1, x2, x3)) = 2 + x1 + x2 + x3
POL(U4_ga(x1)) = 2 + x1
POL(half_in_ga(x1)) = x1
POL(half_out_ga(x1)) = 2·x1
POL(s(x1)) = 1 + x1
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ DependencyGraphProof
↳ PiDP
↳ PrologToPiTRSProof
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(I, Y, half_in_ga(s(s(X))))
half_in_ga(s(s(X))) → U4_ga(half_in_ga(X))
U4_ga(half_out_ga(Y)) → half_out_ga(s(Y))
half_in_ga(0) → half_out_ga(0)
half_in_ga(x0)
U4_ga(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
HALF_IN_AA(s(s(X)), s(Y)) → HALF_IN_AA(X, Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
HALF_IN_AA(s(s(X)), s(Y)) → HALF_IN_AA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
↳ PrologToPiTRSProof
HALF_IN_AA → HALF_IN_AA
HALF_IN_AA → HALF_IN_AA
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
LOG2_IN_AG(X, Y) → U1_AG(X, Y, log2_in_agg(X, 0, Y))
LOG2_IN_AG(X, Y) → LOG2_IN_AGG(X, 0, Y)
LOG2_IN_AGG(s(s(X)), I, Y) → U2_AGG(X, I, Y, half_in_aa(s(s(X)), X1))
LOG2_IN_AGG(s(s(X)), I, Y) → HALF_IN_AA(s(s(X)), X1)
HALF_IN_AA(s(s(X)), s(Y)) → U4_AA(X, Y, half_in_aa(X, Y))
HALF_IN_AA(s(s(X)), s(Y)) → HALF_IN_AA(X, Y)
U2_AGG(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_AGG(X, I, Y, log2_in_ggg(X1, s(I), Y))
U2_AGG(X, I, Y, half_out_aa(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, half_in_ga(s(s(X)), X1))
LOG2_IN_GGG(s(s(X)), I, Y) → HALF_IN_GA(s(s(X)), X1)
HALF_IN_GA(s(s(X)), s(Y)) → U4_GA(X, Y, half_in_ga(X, Y))
HALF_IN_GA(s(s(X)), s(Y)) → HALF_IN_GA(X, Y)
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_GGG(X, I, Y, log2_in_ggg(X1, s(I), Y))
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
LOG2_IN_AG(X, Y) → U1_AG(X, Y, log2_in_agg(X, 0, Y))
LOG2_IN_AG(X, Y) → LOG2_IN_AGG(X, 0, Y)
LOG2_IN_AGG(s(s(X)), I, Y) → U2_AGG(X, I, Y, half_in_aa(s(s(X)), X1))
LOG2_IN_AGG(s(s(X)), I, Y) → HALF_IN_AA(s(s(X)), X1)
HALF_IN_AA(s(s(X)), s(Y)) → U4_AA(X, Y, half_in_aa(X, Y))
HALF_IN_AA(s(s(X)), s(Y)) → HALF_IN_AA(X, Y)
U2_AGG(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_AGG(X, I, Y, log2_in_ggg(X1, s(I), Y))
U2_AGG(X, I, Y, half_out_aa(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, half_in_ga(s(s(X)), X1))
LOG2_IN_GGG(s(s(X)), I, Y) → HALF_IN_GA(s(s(X)), X1)
HALF_IN_GA(s(s(X)), s(Y)) → U4_GA(X, Y, half_in_ga(X, Y))
HALF_IN_GA(s(s(X)), s(Y)) → HALF_IN_GA(X, Y)
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_GGG(X, I, Y, log2_in_ggg(X1, s(I), Y))
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
HALF_IN_GA(s(s(X)), s(Y)) → HALF_IN_GA(X, Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
HALF_IN_GA(s(s(X)), s(Y)) → HALF_IN_GA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
HALF_IN_GA(s(s(X))) → HALF_IN_GA(X)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, half_in_ga(s(s(X)), X1))
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, half_in_ga(s(s(X)), X1))
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Rewriting
↳ PiDP
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, half_in_ga(s(s(X))))
half_in_ga(s(s(X))) → U4_ga(X, half_in_ga(X))
U4_ga(X, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
half_in_ga(0) → half_out_ga(0, 0)
half_in_ga(s(0)) → half_out_ga(s(0), 0)
half_in_ga(x0)
U4_ga(x0, x1)
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, U4_ga(X, half_in_ga(X)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Rewriting
↳ QDP
↳ QDPOrderProof
↳ PiDP
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, U4_ga(X, half_in_ga(X)))
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
half_in_ga(s(s(X))) → U4_ga(X, half_in_ga(X))
U4_ga(X, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
half_in_ga(0) → half_out_ga(0, 0)
half_in_ga(s(0)) → half_out_ga(s(0), 0)
half_in_ga(x0)
U4_ga(x0, x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U2_GGG(X, I, Y, half_out_ga(s(s(X)), X1)) → LOG2_IN_GGG(X1, s(I), Y)
Used ordering: Combined order from the following AFS and order.
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, U4_ga(X, half_in_ga(X)))
[LOG2INGGG3, U2GGG3] > [s1, U4ga1, halfinga1, halfoutga1] > 0
U2GGG3: [3,1,2]
U4ga1: [1]
LOG2INGGG3: [1,2,3]
halfoutga1: [1]
halfinga1: [1]
0: multiset
s1: [1]
half_in_ga(s(0)) → half_out_ga(s(0), 0)
U4_ga(X, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
half_in_ga(0) → half_out_ga(0, 0)
half_in_ga(s(s(X))) → U4_ga(X, half_in_ga(X))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Rewriting
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ PiDP
LOG2_IN_GGG(s(s(X)), I, Y) → U2_GGG(X, I, Y, U4_ga(X, half_in_ga(X)))
half_in_ga(s(s(X))) → U4_ga(X, half_in_ga(X))
U4_ga(X, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
half_in_ga(0) → half_out_ga(0, 0)
half_in_ga(s(0)) → half_out_ga(s(0), 0)
half_in_ga(x0)
U4_ga(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
HALF_IN_AA(s(s(X)), s(Y)) → HALF_IN_AA(X, Y)
log2_in_ag(X, Y) → U1_ag(X, Y, log2_in_agg(X, 0, Y))
log2_in_agg(0, I, I) → log2_out_agg(0, I, I)
log2_in_agg(s(0), I, I) → log2_out_agg(s(0), I, I)
log2_in_agg(s(s(X)), I, Y) → U2_agg(X, I, Y, half_in_aa(s(s(X)), X1))
half_in_aa(0, 0) → half_out_aa(0, 0)
half_in_aa(s(0), 0) → half_out_aa(s(0), 0)
half_in_aa(s(s(X)), s(Y)) → U4_aa(X, Y, half_in_aa(X, Y))
U4_aa(X, Y, half_out_aa(X, Y)) → half_out_aa(s(s(X)), s(Y))
U2_agg(X, I, Y, half_out_aa(s(s(X)), X1)) → U3_agg(X, I, Y, log2_in_ggg(X1, s(I), Y))
log2_in_ggg(0, I, I) → log2_out_ggg(0, I, I)
log2_in_ggg(s(0), I, I) → log2_out_ggg(s(0), I, I)
log2_in_ggg(s(s(X)), I, Y) → U2_ggg(X, I, Y, half_in_ga(s(s(X)), X1))
half_in_ga(0, 0) → half_out_ga(0, 0)
half_in_ga(s(0), 0) → half_out_ga(s(0), 0)
half_in_ga(s(s(X)), s(Y)) → U4_ga(X, Y, half_in_ga(X, Y))
U4_ga(X, Y, half_out_ga(X, Y)) → half_out_ga(s(s(X)), s(Y))
U2_ggg(X, I, Y, half_out_ga(s(s(X)), X1)) → U3_ggg(X, I, Y, log2_in_ggg(X1, s(I), Y))
U3_ggg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_ggg(s(s(X)), I, Y)
U3_agg(X, I, Y, log2_out_ggg(X1, s(I), Y)) → log2_out_agg(s(s(X)), I, Y)
U1_ag(X, Y, log2_out_agg(X, 0, Y)) → log2_out_ag(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
HALF_IN_AA(s(s(X)), s(Y)) → HALF_IN_AA(X, Y)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ NonTerminationProof
HALF_IN_AA → HALF_IN_AA
HALF_IN_AA → HALF_IN_AA